﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Share.Data
{
    public partial class Client
    {
        public void Refresh()
        {
            ClientCode = string.Empty;
            this.ClientId = 0;
            this.ComputerName = string.Empty;
            this.CreateDate = DateTime.Now;
            this.IPAddress = string.Empty;
            this.IsActive = false;
            this.IsAgreeRegister = false;
            this.IsDeleted = false;
            this.Note = string.Empty;
            this.SupplierAddress = string.Empty;
            this.SupplierEmail = string.Empty;
            this.SupplierName = string.Empty;
            this.SupplierPhone = string.Empty; 
            this.SyncCode = string.Empty; 
            

        }
        public static Client ClientAll = new Client()
        {
            ClientId = 0,
            ComputerName = "All clients"

        };
    }
}
